﻿using BookStore.EntityFrameworkCore;
using Volo.Abp.Application;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;

namespace BookStore.Application
{
    [DependsOn(typeof(AbpDddApplicationModule), typeof(BookStoreEntityFrameworkCoreModule), typeof(AbpAutoMapperModule))]
    public class BookStoreApplicationModule: AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            Configure<AbpAutoMapperOptions>(option =>
            {
                option.AddProfile<BookStoreApplicationAutoMapperProfile>();
            });
        }
    }
}